package com.api.util;

import java.util.concurrent.locks.ReadWriteLock;
/**
 * 
 * CreateDate:2017年10月11日上午11:25:00 
 * @Description:模拟缓存接口 
 * @author:zw
 * @version V1.0
 */
public interface Cache {

	String getId();
	
	void putObject(Object key, Object value);

	Object getObject(Object key);

	Object removeObject(Object key);

	void clear();

	int getSize();

	ReadWriteLock getReadWriteLock();

}
